package com.payment;

import com.payment.common.BaseContext;
import com.payment.pojo.OrderState;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@ServletComponentScan
public class PaymentApplication {

    public static void main(String[] args) {
        BaseContext.setCurrentId(10001);
        BaseContext.setCurrentType(0);
        SpringApplication.run(PaymentApplication.class, args);
    }

}
